package br.com.news.database.services;

import javax.inject.Inject;
import javax.inject.Named;

import br.com.news.database.daos.interfaces.IAuditoriaDao;
import br.com.news.database.entities.AuditoriaEntity;
import br.com.news.database.utils.GenericService;
import br.com.news.database.utils.interfaces.IGenericDao;
import br.com.news.utils.database.beans.AuditoriaBean;
import br.com.news.utils.database.interfaces.IAuditoriaServiceDb;

@Named
public class AuditoriaServiceDb extends GenericService<AuditoriaBean, AuditoriaEntity, Long> implements IAuditoriaServiceDb{

	@Inject
	private IAuditoriaDao auditoriaDao;

	@Override
	protected IGenericDao<AuditoriaEntity, Long> getConcreteDao() {
		return this.auditoriaDao;
	}

}
